package main

import "fmt"

func TypeJudge(items ...interface{}){
	for i, v := range items{
		switch v.(type) {
		case bool:
			fmt.Println("bool  ", i)
		case int:
			fmt.Println("int  ", i)
		case float64:
			fmt.Println("float64  ", i)
		}
	}
}

func main() {
	a := true
	b := 1
	c := 1.2
	TypeJudge(a, b, c)
}